package hongcaosp.app.android.modle.bean;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 钱包-明细
 */
public class Income {
    @JSONField(name = "exIn")
    private String exIn;    //in是加 ex是减

    @JSONField(name = "type")
    private Integer type;

    @JSONField(name = "amount")
    private Double amount;

    @JSONField(name = "createTime")
    private Long createTime;

    public String getExIn() {
        return exIn;
    }

    public void setExIn(String exIn) {
        this.exIn = exIn;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Double getAmount() {
        return amount == null ? 0.0 : amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Long getCreateTime() {
        return createTime == null ? 0:createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
}
